//
//  WGNavigationViewController.m
//  DanTang
//
//  Created by taolei on 17/3/15.
//  Copyright © 2017年 taolei. All rights reserved.
//

#import "WGNavigationViewController.h"

@interface WGNavigationViewController ()

@end

@implementation WGNavigationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

+ (void)initialize
{
    UINavigationBar *navigationBar = [UINavigationBar appearance];
    navigationBar.barTintColor = [UIColor colorWithRed:245/255.0 green:80/255.0 blue:83/255.0 alpha:1.0];
    
    NSMutableDictionary *attrs = [NSMutableDictionary dictionary];
    attrs[NSForegroundColorAttributeName] = [UIColor whiteColor];
    attrs[NSFontAttributeName] = [UIFont systemFontOfSize:20];
    [navigationBar setTitleTextAttributes:attrs];
}


@end
